package com.example.librarymanagement.dto.user;

import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author fgba
 */
@Data
public class UserPasswordDto {
    @NotBlank(message = "新密码不能为空")
    private String password;

    @NotBlank(message = "旧密码不能为空")
    private String currentPass;
}
